package com.faner.fast.upms.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.faner.fast.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel(value = "字典类型")
@TableName("sys_dict")
@Data
@EqualsAndHashCode(callSuper = true)
public class SysDictDO extends BaseModel {

    /**
     * 类型
     */
    @ApiModelProperty(value = "字典类型")
    private String type;

    /**
     * 描述
     */
    @ApiModelProperty(value = "字典描述")
    private String description;


    /**
     * 是否是系统内置
     */
    @TableField(value = "`system`")
    @ApiModelProperty(value = "是否系统内置")
    private String system;

    /**
     * 备注信息
     */
    @ApiModelProperty(value = "备注信息")
    private String remarks;

    /**
     * 删除标记
     */
    @TableLogic
    @ApiModelProperty(value = "删除标记,2:已删除,1:正常")
    private String delFlag;

}
